package com.mawendaxiong.blogprovider.blogType.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;

/**
 * <p>
 *
 * </p>
 *
 * @author mawendaxiong
 * @since 2020-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("BlogType")
public class BlogType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 类型主键
     */
    @Id
    private String kid;

    /**
     * 类型名称
     */
    private String name;

    /**
     * 博客数量
     */
    @TableField("blogSize")
    private Integer blogSize;

    /**
     * 是否删除
     */
    @TableField("isDel")
    private Integer isDel;


}
